package cn.openea.perpartner.payment.web.points.service;

import cn.openea.perpartner.payment.web.points.dto.PointsDto;
import cn.openea.perpartner.payment.web.points.entity.SubPoints;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Weird077
 * @description TODO
 * @date 2022-10-27 14:31
 */
public interface ISubPointsService extends IService<SubPoints> {
    List<SubPoints> selectList(PointsDto dto);
    boolean save(PointsDto pointsDto);
    double getUsedPoints(String userId);
}
